package cn.edu.guet.service.Mypost.impl;

import cn.edu.guet.bean.Mypost.Mypost;
import cn.edu.guet.mapper.Mypost.MypostMapper;
import cn.edu.guet.service.Mypost.IMypostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MypostServiceImpl implements IMypostService {

    @Autowired
    private MypostMapper mypostMapper;

    @Override
    public List<Mypost> zuixinremen(String userid, String ptitle, String ptype) {
        return mypostMapper.zuixinremen(userid,ptitle,ptype);
    }

    @Override
    public List<Mypost> xinfabiao(String userid, String ptitle, String ptype) {
        return mypostMapper.xinfabiao(userid,ptitle,ptype);
    }

    @Override
    public List<Mypost> mokuai(String tid, String ptitle, String ptype) {

        return mypostMapper.mokuai(tid,ptitle,ptype);
    }

    @Override
    public List<Mypost> search(String userid, String ptitle, String ptype) {

        return mypostMapper.search(userid,ptitle,ptype);
    }


}
